package com.tedu.project5.service;

import com.tedu.project5.common.Result;
import com.tedu.project5.dto.PermissionDTO;
import com.tedu.project5.dto.QueryPermissionDTO;
import com.tedu.project5.model.DdPermission;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mhg
 * @since 2022-06-13
 */
public interface IDdPermissionService extends IService<DdPermission> {

    Result queryExample(QueryPermissionDTO dto);

    Result savePermission(DdPermission permission);

    Result updatePermission(PermissionDTO dto);

    Result deletePermission(String id);
}
